﻿<%@ Page Language="C#" AutoEventWireup="true" Theme="skin_control" CodeFile="NoVerifyQuarterPlan.aspx.cs"
    Inherits="QuarterPlan_NoVerifyQuarterPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>已处理年计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="firstbjcolor" colspan="8" style="height: 14px;">
                    <span class="currentHere">当前位置:年计划管理-&gt;已处理部门年计划</span>
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x;
                    height: 30px;">
                    <asp:CheckBox ID="ckbAllSelect" runat="server" Text="全选" AutoPostBack="True" OnCheckedChanged="ckbAllSelect_CheckedChanged" />
                    <asp:Button ID="btnOk" runat="server" Text="通过" />
                    年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpYear_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                    </asp:DropDownList>
                    年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" AutoPostBack="True" SkinID="dropdownlistSkin"
                        OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged">
                    </asp:DropDownList>
                    &nbsp;<asp:Button ID="btnVerifyCircuit" runat="server" OnClick="btnVerifyCircuit_Click"
                        SkinID="buttonSkin" Text="流程" />
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8">
                    <div style="height: 18px; width: 98.7%" id="Div1">
                        <table cellpadding="0" cellspacing="1" style="background-color: #d0d0ce;" border="0"
                            width="100%">
                            <tr style="background-color: #ffffff;">
                                <td class="PlanModifyTableHeader" style="width: 3%" align="center">
                                    选择
                                </td>
                                <td class="PlanModifyTableHeader" style="width: 4%" valign="middle" align="center">
                                    计划编号
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 8%">
                                    开始时间
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 8%">
                                    完成时间
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 7%">
                                    计划来源
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 10%">
                                    计划名称
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 8%">
                                    责任部门
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 5%">
                                    责任人<a href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"></a>
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 7%">
                                    配合部门<a href="#" onclick="javascript:slavedepartment(parentNode.firstChild.id );"></a>
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 8%">
                                    配合部门责任
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" style="width: 7%" align="center">
                                    审核意见
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" style="width: 7%" align="center">
                                    评估意见
                                </td>
                                <td class="PlanModifyTableHeader" style="width: 6%" valign="middle" align="center">
                                    查看年分解
                                </td>
                                <td align="center" class="PlanModifyTableHeader" style="width: 6%" valign="middle">
                                    备注
                                </td>
                                <td align="center" class="PlanModifyTableHeader" style="width: 6%" valign="middle">
                                    查看
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 98.1%;">
                    <div style="overflow-y: scroll; height: 500px; width: 100%" id="dvBody">
                        <asp:GridView ID="gdvQuarterPlan" runat="server" AutoGenerateColumns="False" Width="100%"
                            SkinID="gridviewSkin" DataKeyNames="QuarterPlanId,AttachmentPath,Source,TotalPlanId"
                            OnPageIndexChanging="gdvQuarterPlan_PageIndexChanging" ShowHeader="False">
                            <Columns>
                                <asp:TemplateField HeaderText="选择">
                                    <ItemStyle Width="3%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                    <HeaderStyle Width="3%" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemTemplate>
                                        <asp:CheckBox ID="ckbSelect" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="QuarterPlanSortId" HeaderText="计划编号">
                                    <HeaderStyle Width="4%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle HorizontalAlign="Center" Width="4%" VerticalAlign="Middle" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="StartTime" HeaderText="开始时间" DataFormatString="{0:yyyy-MM-dd}"
                                    HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                    HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="计划来源">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="7%" Wrap="True" />
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lbtnSource" runat="server" OnClick="lbtnSource_Click"></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="10%" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                    <HeaderStyle Width="8%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="8%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                    <HeaderStyle Width="5%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                    <HeaderStyle Width="7%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="7%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="VerifyPeopleOpinion" HeaderText="审核意见">
                                    <HeaderStyle Width="7%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="7%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CheckNote" HeaderText="评估意见">
                                    <HeaderStyle Width="7%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="7%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="查看年分解">
                                    <ItemTemplate>
                                        <asp:Button ID="btnSelectResolvQuarterPlan" SkinID="buttonSkin" runat="server" Text="查看分解"
                                            Width="60px" OnClick="btnSelectResolvQuarterPlan_Click1" />
                                        <asp:Label ID="lblTopic" runat="server" Text="无年分解" Visible="False" SkinID="labelSkin"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="6%" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="Remart" HeaderText="备注">
                                    <HeaderStyle Width="6%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle Width="6%" HorizontalAlign="Left" VerticalAlign="Middle" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="处理" Visible="False">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtCheckNote" runat="server" Height="50px" TextMode="MultiLine"
                                            Width="90px"></asp:TextBox><asp:Button ID="btnReturn" runat="server" Text="退回" OnClick="btnReturn_Click1" />
                                    </ItemTemplate>
                                    <ItemStyle Width="100px" HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="QuarterPlanId" HeaderText="id" Visible="False" />
                                <asp:TemplateField HeaderText="附件">
                                    <ItemTemplate>
                                        <asp:Button ID="btnDownLoad" runat="server" OnClick="btnDownLoad_Click" Text="下载"
                                            SkinID="buttonSkin" />
                                        <asp:Label ID="lblAlert" runat="server" Visible="False" SkinID="labelSkin"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="6%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="6%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="AttachmentPath" HeaderText="AttachmentPath" Visible="False" />
                                <asp:BoundField DataField="Source" HeaderText="Source" Visible="False" />
                                <asp:BoundField DataField="TotalPlanId" HeaderText="TotalPlanId" Visible="False" />
                            </Columns>
                        </asp:GridView>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
